<%--

  Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the latest version of the GNU Lesser General
  Public License as published by the Free Software Foundation;

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this program (LICENSE.txt); if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

--%>
<%@ page errorPage="/WEB-INF/jsp/error.jsp"
    contentType="text/html; charset=utf-8"
%>
<%@ page import="org.jamwiki.model.*,org.jamwiki.authentication.*,org.jamwiki.servlets.*" 
%>
<%
String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ include file="page-init.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>韶关移动知识维客管理系统</title>
</head>
<script type="text/javascript">
  function shuaxin(){
     //刷新导航条
     window.parent.frames[2].location.href="<%=basePath%>wiki/menu.jsp";;
   }
</script>
<%@ include file="top.jsp" %>
<body onload="shuaxin()">
<table width="100%" height="100%" align="center" border="0" cellpadding="0" cellspacing="0" class="table-all">
    <tr> 
      <td  align="center" valign="top" bgcolor="#FFFFFF" id="main">
<div id="wiki-content"> 
	<div id="contents" ><!-- 
	<div id="contents-header"><f:message key="${pageInfo.pageTitle.key}"><f:param value="${pageInfo.pageTitle.params[0]}" /></f:message></div>
	<c:if test="${!empty pageInfo.redirectName}">
	<c:set var="redirectUrl"><jamwiki:link value="${pageInfo.redirectName}"><jamwiki:linkParam key="redirect" value="no" /><c:out value="${pageInfo.redirectName}" /></jamwiki:link></c:set>
	<div id="contents-subheader"><f:message key="topic.redirect.from"><f:param value="${redirectUrl}" /></f:message></div>
	</c:if> -->
    <c:set var="contentJsp" scope="page" value="${pageInfo.contentJsp}" />
	<%
	// Servlet 2.3 doesn't understand the EL language, so a scriptlet has to be used...
	String contentJsp = (String)pageContext.getAttribute("contentJsp");
	%>
	<jsp:include page="<%= contentJsp %>" flush="true" />
	<br />
	</div>
</div>
</td></tr></table>
</body>
